﻿using TDDarnis09;
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;


namespace Test.unit
{
    [TestClass]
    public class TestQueryString
    {
        [TestMethod]
        public void TestMethod1()
        {
            
            //  QueryString qs = new QueryString("name=value");
            // assertEquals("Count for one value pair should be 1", 1, qs.count());

            
            httpclass h = new httpclass();
            
            Assert.AreEqual("tdd", h.QueryString("http://www.ru.is/?course=hugb&exercise=tdd"));

        }
    }
}
